#主动技能【万象天引】
execute if score @s skPlayer matches 3 run scoreboard players set @s skPlayer 5
execute if score @s skPlayer matches ..2 run scoreboard players set @s skPlayer 3
execute rotated ~ 0 run summon minecraft:armor_stand ^ ^1 ^0.5 {Tags:[wxty],Invulnerable:1b,PersistenceRequired:1b,NoGravity:1b,OnGround:1b,Invisible:1,Small:1,NoBasePlate:1,Rotation:[0f]}
execute rotated ~ 0 positioned ^ ^ ^0.5 as @e[type=armor_stand,sort=nearest,limit=1,tag=wxty] at @s rotated as @p[tag=miyan] run tp @s ~ ~ ~ ~ ~

scoreboard players set @s skEXBottle 3

execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^3 run scoreboard players set @p[tag=!wxty,distance=0..2.9] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^3 if entity @p[tag=!wxty,distance=0..2.9] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^6 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^6 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^9 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^9 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^12 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^12 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^15 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^15 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^18 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^18 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^21 run scoreboard players set @p[tag=!wxty,distance=0..4] miyan1 5
execute if score @s skEXBottle matches 3 rotated ~ ~ positioned ^ ^1 ^21 if entity @p[tag=!wxty,distance=0..4] run scoreboard players set @s skEXBottle 1


execute rotated ~ ~ positioned ^ ^1 ^3 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..2.9] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^6 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^9 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^12 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^15 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^18 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5
execute rotated ~ ~ positioned ^ ^1 ^21 run scoreboard players set @e[tag=!wxty,type=!player,type=!item,type=!chest_minecart,distance=0..4] miyan1 5

tellraw @a [{"selector":"@s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"：释放技能","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"【万象天引】","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"—弥彦","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
scoreboard players set @s skCDEXBottle 8
scoreboard players reset @s skEXBottle